package com.itheima.service;

import com.itheima.pojo.Emp;
import com.itheima.pojo.EmpQueryParam;
import com.itheima.pojo.PageResult;
import org.springframework.stereotype.Service;

import java.time.LocalDate;

@Service
public interface EmpService {




    //PageResult page(Integer page, Integer pageSize);

    //PageResult page(Integer page, Integer pageSize, String name, Integer genter, LocalDate begin, LocalDate end);

    PageResult page(EmpQueryParam empQueryParam);


    void delete(Integer[] ids);

    void addEmp(Emp emp);

    Emp getInfo(Integer id);
}
